Adwaita: checks and radios text focus ring fix.
authorLapo Calamandrei <calamandrei@gmail.com>
Wed, 18 Jun 2014 08:11:11 +0000 (10:11 +0200)
committerLapo Calamandrei <calamandrei@gmail.com>
Wed, 18 Jun 2014 08:11:11 +0000 (10:11 +0200)
gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index c15c631a04a13eb0176f0befab9fcde1df5c92bf..381d3837a3386fa85e6a6ad0f020e420ded2c279 100644 (file)
@@ -1230,9 +1230,11 @@ $asset_suffix: if($variant=='dark', '-dark', '');
   }
 }
 
-
-
-GtkCheckButton.text-button:selected { background-color: transparent; }
+GtkCheckButton.text-button, GtkRadioButton.text-button {
+  // this is for a nice focus on check and radios text
+  padding: 1px;
+  outline-offset: 0;
+}
 
 /************
  * GtkScale *
index 98658fb3318ace00c7331ff430613bce7003dfb9..4e6b2a3171a78245c8b6f82cac5f793fb8ecafab 100644 (file)
@@ -1576,8 +1576,9 @@ GtkPopover .button.radio:hover {
     GtkPopover .button.radio:hover:active:backdrop {
       color: #c9cbc9; }
 
-GtkCheckButton.text-button:selected {
-  background-color: transparent; }
+GtkCheckButton.text-button, GtkRadioButton.text-button {
+  padding: 1px;
+  outline-offset: 0; }
 
 /************
  * GtkScale *
index ffcd77360d3fd15927790f31ee4e4b4668185105..a6b1a52d38f311207cd3bc69613d717bc92db372 100644 (file)
@@ -1575,8 +1575,9 @@ GtkPopover .button.radio:hover {
     GtkPopover .button.radio:hover:active:backdrop {
       color: #54595a; }
 
-GtkCheckButton.text-button:selected {
-  background-color: transparent; }
+GtkCheckButton.text-button, GtkRadioButton.text-button {
+  padding: 1px;
+  outline-offset: 0; }
 
 /************
  * GtkScale *